import request from '@/utils/request'

// 订单、用户累计
export const getTotalOrderDataApi = (data) => {
  return request({
    url: '/plat/dataBoard/TotalData',
    method: 'post',
    data: data
  })
}

// 昨日、今日订单统计
export const getTodayOrderDataApi = (data) => {
  return request({
    url: '/plat/dataBoard/TodayData',
    method: 'post',
    data: data
  })
}

// 订单统计趋势图
export const getOrderTrendApi = (data) => {
  return request({
    url: '/plat/dataBoard/TrendData',
    method: 'post',
    data: data
  })
}